package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Sale;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;
import java.util.Map;


public interface ISaleService {
    void save(Sale sale);
    void update(Sale sale);
    void delete(Long id);
    Sale get(Long id);
    List<Sale> list();

    void select();


    List<Map<String,Object>> saleanalyze();

    PageResult query(QueryObject qo);

    PageResult queryList(QueryObject qo);

    PageResult selectData(QueryObject qo);
}
